package ijeoma.tween;
import java.util.EventObject;

public class TweenEvent extends EventObject {
	public static String TWEEN_STARTED = "tweenStarted";
	public static String TWEEN_ENDED = "tweenEnded";
	public static String TWEEN_CHANGED = "tweenChanged";
	public static String TWEEN_REPEATED = "tweenRepeated";
	public static String TWEEN_PAUSED = "tweenPaused";
	public static String TWEEN_RESUMED = "tweenResumed";

	public static String TWEEN_DELAY_STARTED = "tweenDelayStarted";
	public static String TWEEN_DELAY_ENDED = "tweenDelayEnded";

	public static String TWEEN_SEQUENCE_STARTED = "tweenSequenceStarted";
	public static String TWEEN_SEQUENCE_ENDED = "tweenSequenceEnded";
	public static String TWEEN_SEQUENCE_CHANGED = "tweenSequenceChanged";
	public static String TWEEN_SEQUENCE_REPEATED = "tweenSequenceRepeated";

	public static String TWEEN_GROUP_STARTED = "tweenGroupStarted";
	public static String TWEEN_GROUP_ENDED = "tweenGroupEnded";
	public static String TWEEN_GROUP_CHANGED = "tweenGroupChanged";
	public static String TWEEN_GROUP_REPEATED = "tweenGroupRepeated";
	public static String TWEEN_GROUP_PAUSED = "tweenGroupPaused";
	public static String TWEEN_GROUP_RESUMED = "tweenGroupResumed";

	public String type;

	public TweenEvent(Object source, String _eventType) {
		super(source);
		type = _eventType;
	}
}
